

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;
using DualControl.Common;
using DualControl.ControlMeasures;
using DualControl.HazardSources;
using DualControl.RiskPoints;

namespace DualControl.HazardSources.Dtos
{
    [AutoMapTo(typeof(HazardSource))]
    public class HazardSourceEditDto
    {
        /// <summary>
        /// Id
        /// </summary>
        public int? Id { get; set; }


        /// <summary>
        /// Code
        /// </summary>
        public string Code { get; set; }


        /// <summary>
        /// RiskPointId
        /// </summary>
        public int RiskPointId { get; set; }


        /// <summary>
        /// JobStep
        /// </summary>
       // public string JobStep { get; set; }
       public string HazardSourceName { get; set; }

        /// <summary>
        /// RiskFactor
        /// </summary>
        public string RiskFactor { get; set; }


        /// <summary>
        /// PostId
        /// </summary>
        public int? PostId { get; set; }


        /// <summary>
        /// AccidentType
        /// </summary>
        //public AccidentType AccidentType { get; set; }


        /// <summary>
        /// AccidentTypes
        /// </summary>
        public string AccidentTypes { get; set; }


        /// <summary>
        /// L
        /// </summary>
        public float L { get; set; }


        /// <summary>
        /// E
        /// </summary>
        public float E { get; set; }


        /// <summary>
        /// C
        /// </summary>
        public float C { get; set; }


        /// <summary>
        /// RiskLevel
        /// </summary>
        public RiskLevel RiskLevel { get; set; }


        /// <summary>
        /// RiskColor
        /// </summary>
        public RiskColor RiskColor { get; set; }


        /// <summary>
        /// ResponsiblePerson
        /// </summary>
        public long ResponsiblePerson { get; set; }


        /// <summary>
        /// ControlLevels
        /// </summary>
        public int ControlLevels { get; set; }


        /// <summary>
        /// ControlMeasures
        /// </summary>
        public ICollection<ControlMeasure> ControlMeasures { get; set; }



        /// <summary>
        /// RiskPoint
        /// </summary>
        //public RiskPoint RiskPoint { get; set; }


        /// <summary>
        /// TenantId
        /// </summary>
       // public int TenantId { get; set; }


        /// <summary>
        /// IsDeleted
        /// </summary>
        //public bool IsDeleted { get; set; }

        //// custom codes

        //// custom codes end
    }
}